{"version":3,"file":"script.map.js","names":["BX","namespace","slice","Landing","Utils","proxy","bind","addClass","removeClass","isNumber","style","data","addQueryParams","TemplatePreview","params","this","closeButton","document","querySelector","createButton","createByImportButton","title","description","themesPalette","themesSiteColorNode","themesSiteCustomColorNode","imageContainer","loaderContainer","previewFrame","baseUrlNode","siteGroupPalette","loader","Loader","messages","loaderText","progressBar","IsLoadedFrame","baseUrl","color","ajaxUrl","ajaxParams","createStore","type","isBoolean","disableStoreRedirect","disableClickHandler","adminSection","zipInstallPath","siteId","langId","isString","folderId","urlPreview","onCreateButtonClick","onCancelButtonClick","onColorPickerThemeSelect","onFrameLoad","addCustomEvent","init","getInstance","instance","prototype","colorItems","children","concat","forEach","initSelectableItem","siteGroupItems","setBaseUrl","setDefaultColor","showPreview","buildHeader","SidePanel","Instance","isReload","click","url","undefined","setColor","theme","getActiveColorNode","getColor","createPreviewUrl","queryParams","SaveBtn","active","getActiveSiteGroupItem","src","showLoader","then","createFrameIfNeeded","loadPreview","hideLoader","qrContainer","create","QRCode","text","width","height","colorLight","showPopupButton","popupPreview","PopupWindowManager","content","props","className","LANDING_TPL_POPUP_TITLE","LANDING_TPL_POPUP_TEXT","closeIcon","closeByEsc","noAllPaddings","autoHide","animation","angle","position","offset","minWidth","maxWidth","contentBackground","addEventListener","toggle","Promise","resolve","createFrame","appendChild","border","readyState","window","onload","show","iframe","hide","delay","image","setTimeout","getValue","result","parentElement","dataset","name","value","replaceAll","getCreateUrl","getAttribute","event","preventDefault","top","close","Dom","hasClass","parentNode","UI","InfoHelper","promise","setInterval","attr","metrika","Metrika","sendLabel","target","href","isStore","LANDING_LOADER_WAIT","ProgressBar","column","getContainer","classList","add","initCatalogParams","createCatalog","finalRedirectAjax","hasAttribute","ajax","method","dataType","prepareData","onsuccess","createCatalogResult","status","update","progress","setTextAfter","message","createParamsStrFromUrl","popupImport","popupImportLoaderContainer","interval","reject","html","append","restImportElement","count","Error","clearInterval","importTitle","importIconContainer","remove","insertBefore","nextSibling","error","addRepeatCreateButton","onCustomEvent","location","popupImportError","repeatButton","onRepeatButtonClick","item","onSelectableItemClick","currentTarget","control","node","frame","URL","search","URLSearchParams","set","substr","toString","setAttribute","hideFrameLoader","appCodeMatch","match","appCode","titleMatch","hrefUrlMatch","hrefId"],"sources":["script.js"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,cAEb,IAAIC,EAAQF,GAAGG,QAAQC,MAAMF,MAC7B,IAAIG,EAAQL,GAAGG,QAAQC,MAAMC,MAC7B,IAAIC,EAAON,GAAGG,QAAQC,MAAME,KAC5B,IAAIC,EAAWP,GAAGG,QAAQC,MAAMG,SAChC,IAAIC,EAAcR,GAAGG,QAAQC,MAAMI,YACnC,IAAIC,EAAWT,GAAGG,QAAQC,MAAMK,SAChC,IAAIC,EAAQV,GAAGG,QAAQC,MAAMM,MAC7B,IAAIC,EAAOX,GAAGG,QAAQC,MAAMO,KAC5B,IAAIC,EAAiBZ,GAAGG,QAAQC,MAAMQ,eAMtCZ,GAAGG,QAAQU,gBAAkB,SAASC,GAErCC,KAAKC,YAAcC,SAASC,cAAc,mCAC1CH,KAAKI,aAAeF,SAASC,cAAc,oCAC3CH,KAAKK,qBAAuBH,SAASC,cAAc,8CACnDH,KAAKM,MAAQJ,SAASC,cAAc,yCACpCH,KAAKO,YAAcL,SAASC,cAAc,+CAC1CH,KAAKQ,cAAgBN,SAASC,cAAc,oCAC5CH,KAAKS,oBAAsBP,SAASC,cAAc,wCAClDH,KAAKU,0BAA4BR,SAASC,cAAc,sCACxDH,KAAKW,eAAiBT,SAASC,cAAc,+BAC7CH,KAAKY,gBAAkBV,SAASC,cAAc,0CAC9CH,KAAKa,aAAeX,SAASC,cAAc,uCAC3CH,KAAKc,YAAcZ,SAASC,cAAc,sCAC1CH,KAAKe,iBAAmBb,SAASC,cAAc,wCAC/CH,KAAKgB,OAAS,IAAI/B,GAAGgC,OAAO,CAAC,GAC7BjB,KAAKkB,SAAWnB,EAAOmB,UAAY,CAAC,EACpCl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